package com.demo.service;

import com.demo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.vo.UserDetailVo;
import com.github.pagehelper.PageInfo;

public interface UserService extends IService<User>{


    /**
     * 获取登录用户详细详细
     * @param loginUserId
     * @return
     */
    UserDetailVo queryUserDetailInfoByUserId(Integer loginUserId);
    //分页查询用户列表（使用pageHelper分页插件）
    PageInfo<User> queryUserHelperPage(Integer current, Integer pageSize);
}
